package com.example.demo.entity;

import java.io.Serializable;

/**
 * 会员收货地址实体类
 */
public class MembReceipt implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 收货地址ID
     */
    private Integer id;

    /**
     * 会员ID
     */
    private Integer membId;

    /**
     * 收货人
     */
    private String consignee;

    /**
     * 地区
     */
    private String area;

    /**
     * 街道地址
     */
    private String street;

    /**
     * 手机号
     */
    private String cellphone;

    /**
     * 默认地址标志
     */
    private String defaultAddr;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMembId() {
        return membId;
    }

    public void setMembId(Integer membId) {
        this.membId = membId;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getCellphone() {
        return cellphone;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    public String getDefaultAddr() {
        return defaultAddr;
    }

    public void setDefaultAddr(String defaultAddr) {
        this.defaultAddr = defaultAddr;
    }

    @Override
    public String toString() {
        return "MembReceipt{" +
                "id=" + id +
                ", membId=" + membId +
                ", consignee='" + consignee + '\'' +
                ", area='" + area + '\'' +
                ", street='" + street + '\'' +
                ", cellphone='" + cellphone + '\'' +
                ", defaultAddr='" + defaultAddr + '\'' +
                '}';
    }
}

